package com.banwoqiche.mapper;
import com.banwoqiche.pojo.SysMenu;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @time: 2022-03-31 13:12
 */
public interface SysMenusMapper {
    @Select("select * from c_menus")
    List<SysMenu> getAllMenus();
    //根据id查询
    @Select("select * from c_menus where m_id=#{mId}")
    SysMenu getMenusBymid(Long mId);
}

